package cn.lyj.action;

import cn.lyj.entity.BizCheckResult;
import cn.lyj.service.CheckResultBiz;

public class CheckResultAction extends BaseAction<BizCheckResult> {
	
	private BizCheckResult checkResult;
	private CheckResultBiz  checkResultBiz;
	public BizCheckResult getCheckResult() {
		return checkResult;
	}
	public void setCheckResult(BizCheckResult checkResult) {
		this.checkResult = checkResult;
	}
	public CheckResultBiz getCheckResultBiz() {
		return checkResultBiz;
	}
	public void setCheckResultBiz(CheckResultBiz checkResultBiz) {
		this.checkResultBiz = checkResultBiz;
	}
	public String checkClaimVoucher()throws Exception{
		checkResult.setCheckEmployee(this.getLoginEmployee());
		checkResultBiz.saveCheckResult(checkResult);
		return "success";
	}
}
